package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 描述 The type Botany file.
 *
 * @author code -generate
 * @created 2021 -08-26 16:40:54
 * @date 2021 -08-26
 */
@Data
@DbTable(tableName = "t_botany_file")
public class BotanyFile extends BaseEntity {
    /**
     * t_park.c_id
     */
    @DbTableField(columnName = "c_main_id", dbType = DbTypeEnum.INTEGER)
    public Integer mainId ;

    /**
     * 文件ID
     */
    @DbTableField(columnName = "c_file_id", dbType = DbTypeEnum.VARCHAR)
    public String fileId ;

    /**
     * 文件名称
     */
    @DbTableField(columnName = "c_file_name", dbType = DbTypeEnum.VARCHAR)
    public String fileName ;

    /**
     * 文件类型
     */
    @DbTableField(columnName = "c_file_type_id", dbType = DbTypeEnum.INTEGER)
    public Integer fileTypeId ;

    /**
     * 文件后缀
     */
    @DbTableField(columnName = "c_file_type", dbType = DbTypeEnum.VARCHAR)
    public String fileType ;

    /**
     * 数据类型。
     */
    @DbTableField(columnName = "c_date_type", dbType = DbTypeEnum.INTEGER)
    public Integer dateType ;

    /**
     * 类型（1-基础植物，2-古树名木）
     */
    @DbTableField(columnName = "c_type", dbType = DbTypeEnum.INTEGER)
    public Integer type ;


}
